import 'package:flutter/material.dart';

import '../../models/index.dart';

ImageNormalModel configImageNormalModel({
  required String imageUrl,
  double? width,
  double? imgHeight,
  double? imgWidth,
}) {
  return ImageNormalModel(
    url: imageUrl,
    heroStr: 'demo$imageUrl',
    size: Size(
      width ?? 0,
      (width ?? 0) / ((imgWidth ?? 0) / (imgHeight ?? 1)),
    ),
  );
}
